<div class="modal-content">
  <div class="modal-header">
    <button type="button" class="close" ng-click="cancel()" aria-label="Close">
      <em class="ion-ios-close-empty sn-link-close"></em>
    </button>
    <h4 class="modal-title" id="modal-title">上传图片</h4>
  </div>
  <div class="modal-body" id="modal-body">
    <div class="row">
      <div class="col-sm-12">
        <form class="form-horizontal" name="editStaffForm" angular-validator angular-validator-submit="ok(user)" novalidate >
          <div class="form-group" ng-class="{'has-error' : imgUrlTooltipIsOpen && !imgUrl}">
            <label class="col-sm-2 control-label">图片</label>
            <div class="col-sm-4">
              <image-upload id="imgUrl" >
              </image-upload>
              <span class="help-block error-block basic-block">*请填上传图片</span>
              <span style="color: lightgrey">上传图片</span>
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label"></label>
            <div class="col-sm-4">
              <div class="progress" ng-show="imgUploading">
                <div class="progress-bar progress-bar-info progress-bar-striped active" role="progressbar"
                     aria-valuenow="{{imgProgressbarValue}}" aria-valuemin="0" aria-valuemax="100" style="{{'width:' + imgProgressbarValue +'%'}} ">
                  上传完成 {{imgProgressbarValue}} %
                </div>
              </div>
            </div>
          </div>
          <div class="form-group" style="margin-top: 40px">
            <div class="col-sm-12 text-center">
              <button type="submit" class="btn btn-primary">保&nbsp;&nbsp;&nbsp;&nbsp;存</button>
              <button type="button" class="btn btn-warning" style="margin-left: 20px" ng-click="cancel()">返&nbsp;&nbsp;&nbsp;&nbsp;回</button>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
  <div class="modal-footer">
    &nbsp;
  </div>
</div>